package com.ibeeking.found.common.constants;


public class WxMpConstant {

    /**
     * 公众号关键字匹配可配置最大量
     */
    public static final int MP_KEY_WORD_MAX = 10;

    /**
     * 微信公众号最大可以保存的标签数量
     */
    public static final int WX_MAX_TITLE_COUNT = 100;

    /**
     * 微信公众号最大可以保存的一级菜单数量
     */
    public static final int WX_LEVEL_1_MAX = 3;

    /**
     * 微信公众号最大可以保存的二级菜单数量
     */
    public static final int WX_LEVEL_2_MAX = 5;

    /**
     * 获取公众号的消息类型
     */
    public static final String MESSAGE_TEXT = "text";

    public static final String MESSAGE_IMAGE = "image";

    public static final String MESSAGE_VOICE = "voice";

    public static final String MESSAGE_VIDEO = "video";

    public static final String MESSAGE_FILE = "file";

    public static final String MESSAGE_SHORTVIDEO = "shortvideo";

    public static final String MESSAGE_LINK = "link";

    public static final String MESSAGE_LOCATION = "location";

    public static final String MESSAGE_EVENT = "event";

    public static final String MESSAGE_SUBSCRIBE = "subscribe";

    public static final String MESSAGE_UNSUBSCRIBE = "unsubscribe";

    public static final String MESSAGE_CLICK = "CLICK";

    public static final String MESSAGE_VIEW = "VIEW";

    public static final String MESSAGE_SCAN = "SCAN";

    public static final String MESSAGE_TYPE = "MsgType";

    public static final String MESSAGE_EVENT_KEY = "key";

    public static final String MESSAGE_NEWS = "news";

    /**
     * 公众号内容标签
     */
    public static final String TO_USER_NAME = "ToUserName";

    public static final String FROM_USER_NAME = "FromUserName";

    public static final String CREATE_TIME = "CreateTime";

    public static final String CONTENT = "Content";

    public static final String MSG_ID = "MsgId";

    public static final String EVENT = "Event";

    /**
     * 消息自动回复类型（1、关注时回复；2、消息回复；3、关键词回复）
     */
    public static final String WX_AUTO_REPLY_TYPE_1 = "1";
    public static final String WX_AUTO_REPLY_TYPE_2 = "2";
    public static final String WX_AUTO_REPLY_TYPE_3 = "3";

    /**
     * 消息分类（1、用户发给公众号；2、公众号发给用户；）
     */
    public static final String WX_MSG_TYPE_1 = "1";
    public static final String WX_MSG_TYPE_2 = "2";

}
